package com.ck.notify;

public class NotifyTest {
    public static void main(String[] args) {
        Person person = new Person();
        Producer p = new Producer(person);
        Consumer c = new Consumer(person);

        new Thread(p::run).start();

        new Thread(c::run).start();

    }
}
